package com.roc.steelend.service.Impl;


import com.roc.steelend.mapper.WriteOffSaleDetailMapper;
import com.roc.steelend.service.WriteOffSaleDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigInteger;
import java.util.HashMap;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class WriteOffSaleDetailServiceImpl implements WriteOffSaleDetailService {


    @Autowired
    private WriteOffSaleDetailMapper writeOffSaleDetailMapper;
    @Override
    public List<HashMap<String, Object>> saleDetailByPay(BigInteger saleOrderId) {
        return writeOffSaleDetailMapper.saleDetailByPay(saleOrderId);
    }
}
